package com.sgb.kjwl.model.entity;

import java.util.List;

public class ShoppingCarEntity implements Cloneable {


    public boolean sel;
    /**
     * data : [{"id":153026804025550,"createUser":null,"createTime":null,"updateUser":null,"updateTime":null,"remember_me":null,"buyerId":289,"itemId":154564633099764,"itemNum":1000,"cartType":0,"cartTitle":"围挡 每根立柱另加一根1.6米斜撑 万工（乌市） 彩钢板0.8mm 龙骨50*50*3方钢","price":158400,"unit":"米","itemStatus":"1","cidName1":"测试消防材料","itemImage":"[\"06d3789968ba49b3a2e698c0a4f3b8b762303\",\"a81cdd9f07b8476eb3c82a8c248c660823429\"]","imageUrls":["https://shigongbang.oss-cn-hangzhou.aliyuncs.com/06d3789968ba49b3a2e698c0a4f3b8b762303","https://shigongbang.oss-cn-hangzhou.aliyuncs.com/a81cdd9f07b8476eb3c82a8c248c660823429"],"brandName":"万工（乌市）","areaName":"乌鲁木齐市","storageName":"天山区","shortName":"广州品畅"}]
     * type : 测试消防材料
     */

    private String type;
    private int itemStatus;
    private String shopName;
    private long shopId;
    private boolean isSelect_shop;      //店铺是否在购物车中被选中
    private List<DataBean> dataList;

    public int getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(int itemStatus) {
        this.itemStatus = itemStatus;
    }

    public ShoppingCarEntity clone() {
        ShoppingCarEntity o = null;
        try {
            o = (ShoppingCarEntity) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return o;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public boolean isSelect_shop() {
        return isSelect_shop;
    }

    public void setSelect_shop(boolean select_shop) {
        isSelect_shop = select_shop;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<DataBean> getData() {
        return dataList;
    }

    public void setData(List<DataBean> data) {
        this.dataList = data;
    }

    public static class DataBean {
        public double lowestBuy;
        /*
        "brandName": "新兴",
        "skuStr": "",//商品属性
        "concreteSpec": "",
        "shopName": "北京日月甜宇米业有限公司",
        "cartTitle": "新兴/热轧带肋钢筋(直条)/新兴/热轧带肋钢筋(直条)",
        "thirdName": "热轧带肋钢筋(直条)",
        "storageName": "天山区",
        "itemImage": "[\"f43fca311e114820ab00e7a5b89db8eb95240\"]",
        "itemNum": 1000,
        "itemId": 159417818675286,
        "firstName": "钢材",
        "unit": "吨",
        "areaName": "乌鲁木齐市",
        "price": 0,//原价
        "itemStatus": 1,
        "imageUrls": [
        "https://shigongbang.oss-cn-hangzhou.aliyuncs.com/f43fca311e114820ab00e7a5b89db8eb95240"
        ],
        "cartType": 0,
        "id": 153026804028761,
        "shopId": 199,
        "shortName": "日月",
        "secondName": "建材",
        "promoteStatus": 0,//为2表示是促销中，取促销价格
        "promoteStartTime": null,
        "promoteEndTime": null,
        "promotePrice": "0.00",//促销价
        "skuid": "1301491499623780357",//skuid
        "cid1": 3,//一级分类id
        */

        private String id;
        private String createUser;
        private String createTime;
        private String updateUser;
        private String updateTime;
        private String remember_me;
        private String buyerId;
        private String itemId;
        private String firstName;
        private double itemNum;
        private int cartType;
        private String cartTitle;
        private String price;
        private String unit;
        private int itemStatus;
        private String cidName1;
        private String itemImage;
        private String brandName;
        private String areaName;
        private String storageName;
        private String shortName;
        private String shopId;
        private String concreteSpec;//商砼参数
        private String cid1;
        private String skuid;
        private String promotePrice;
        private String promoteEndTime;
        private String promoteStartTime;
        private int promoteStatus;
        private String secondName;
        private String thirdName;
        private String skuStr;
        public boolean sel;

        public String getConcreteSpec() {
            return concreteSpec;
        }

        public void setConcreteSpec(String concreteSpec) {
            this.concreteSpec = concreteSpec;
        }

        public boolean isSelect() {
            return isSelect;
        }

        public void setSelect(boolean select) {
            isSelect = select;
        }

        private boolean isSelect;        //商品是否在购物车中被选中
        private List<String> imageUrls;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public Object getCreateUser() {
            return createUser;
        }

        public void setCreateUser(String createUser) {
            this.createUser = createUser;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateUser() {
            return updateUser;
        }

        public void setUpdateUser(String updateUser) {
            this.updateUser = updateUser;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public Object getRemember_me() {
            return remember_me;
        }

        public void setRemember_me(String remember_me) {
            this.remember_me = remember_me;
        }

        public String getBuyerId() {
            return buyerId;
        }

        public void setBuyerId(String buyerId) {
            this.buyerId = buyerId;
        }

        public String getItemId() {
            return itemId;
        }

        public void setItemId(String itemId) {
            this.itemId = itemId;
        }

        public double getItemNum() {
            return itemNum;
        }

        public void setItemNum(double itemNum) {
            this.itemNum = itemNum;
        }

        public int getCartType() {
            return cartType;
        }

        public void setCartType(int cartType) {
            this.cartType = cartType;
        }

        public String getCartTitle() {
            return cartTitle;
        }

        public void setCartTitle(String cartTitle) {
            this.cartTitle = cartTitle;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getUnit() {
            return unit;
        }

        public void setUnit(String unit) {
            this.unit = unit;
        }

        public int getItemStatus() {
            return itemStatus;
        }

        public void setItemStatus(int itemStatus) {
            this.itemStatus = itemStatus;
        }

        public String getCidName1() {
            return cidName1;
        }

        public void setCidName1(String cidName1) {
            this.cidName1 = cidName1;
        }

        public String getItemImage() {
            return itemImage;
        }

        public void setItemImage(String itemImage) {
            this.itemImage = itemImage;
        }

        public String getBrandName() {
            return brandName;
        }

        public void setBrandName(String brandName) {
            this.brandName = brandName;
        }

        public String getAreaName() {
            return areaName;
        }

        public void setAreaName(String areaName) {
            this.areaName = areaName;
        }

        public String getStorageName() {
            return storageName;
        }

        public void setStorageName(String storageName) {
            this.storageName = storageName;
        }

        public String getShortName() {
            return shortName;
        }

        public void setShortName(String shortName) {
            this.shortName = shortName;
        }

        public List<String> getImageUrls() {
            return imageUrls;
        }

        public void setImageUrls(List<String> imageUrls) {
            this.imageUrls = imageUrls;
        }

        public String getShopId() {
            return shopId;
        }

        public void setShopId(String shopId) {
            this.shopId = shopId;
        }

        public String getCid1() {
            return cid1;
        }

        public void setCid1(String cid1) {
            this.cid1 = cid1;
        }

        public String getSkuid() {
            return skuid;
        }

        public void setSkuid(String skuid) {
            this.skuid = skuid;
        }

        public String getPromotePrice() {
            return promotePrice;
        }

        public void setPromotePrice(String promotePrice) {
            this.promotePrice = promotePrice;
        }

        public String getPromoteEndTime() {
            return promoteEndTime;
        }

        public void setPromoteEndTime(String promoteEndTime) {
            this.promoteEndTime = promoteEndTime;
        }

        public String getPromoteStartTime() {
            return promoteStartTime;
        }

        public void setPromoteStartTime(String promoteStartTime) {
            this.promoteStartTime = promoteStartTime;
        }

        public String getSecondName() {
            return secondName;
        }

        public void setSecondName(String secondName) {
            this.secondName = secondName;
        }

        public String getThirdName() {
            return thirdName;
        }

        public void setThirdName(String thirdName) {
            this.thirdName = thirdName;
        }

        public String getSkuStr() {
            return skuStr;
        }

        public void setSkuStr(String skuStr) {
            this.skuStr = skuStr;
        }

        public String getFirstName() {
            return firstName;
        }

        public void setFirstName(String firstName) {
            this.firstName = firstName;
        }

        public int getPromoteStatus() {
            return promoteStatus;
        }

        public void setPromoteStatus(int promoteStatus) {
            this.promoteStatus = promoteStatus;
        }
    }
}
